#ifndef UIBUTTON_H_
#define UIBUTTON_H_

#include "Point2d.h"
#include "UIElement.h"
#include <string>

namespace Lame3d
{
	class UIButton : public UIElement
	{
		public:
			UIButton(const std::string &name, 
				const Point2d &loc, 
				const Point2d &s, 
				const std::string &text);
			~UIButton();
			
			enum ButtonState
			{
				UP,
				DOWN
			};
			
			ButtonState State() const;
			void State(ButtonState s);
			
			const std::string& Text() const;
			void Text(const std::string &t);
			
			const std::string& ClickedText() const;
			void ClickedText(const std::string &t);
			
		protected:
			std::string text;
			ButtonState state;
	};
}

#endif /*UIBUTTON_H_*/
